﻿using System.Collections.Generic;
using System.Threading.Tasks;
using X23.Application.BillManagement.Dto;
using X23.EFCore.Service;
using X23.Model.Bill;

namespace X23.Application.BillManagement
{
    public interface IBillManagementService : ICRUDService<BillDto, Bill>
    {
        /// <summary>
        /// 获取指定年月的花销
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<BillAmountDto> GetBillByTime(BillAmountInputDto input);
        /// <summary>
        /// 获取分组账单
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<List<BillGroupDto>> GetBillGroupList(BillGroupInputDto input);
    }
}
